# coding=utf8
# 全世界最帅的帅哥
from flask import Blueprint
from flask_restful import Api
from comment.utils.output import output_json

account_bp = Blueprint("account", __name__, url_prefix="/account")
account_api = Api(account_bp)

account_api.representation("application/json")(output_json)

from .account_resources import AccountRecharge, AccountExtract, AccountInfo
account_api.add_resource(AccountRecharge, "/recharge", endpoint="recharge")  # 充值接口
account_api.add_resource(AccountExtract, "/extract", endpoint="extract")  # 提现接口
account_api.add_resource(AccountInfo, "/funds", endpoint="funds")  # 查询用户资金